//
//  YLRiskAssessmentBaseView.h
//  YLFinanceService
//
//  Created by she1323 on 2017/9/19.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YLRiskAssessmentBaseView;

@class YLRiskAssessmentGroup;

@protocol YLRiskAssessmentBaseViewDelegate <NSObject>

- (void)riskAssessmentBaseView:(YLRiskAssessmentBaseView *)baseView titleNumber:(NSInteger)titleNumber answerNumber:(NSInteger)answerNumber;

- (void)riskAssessmentBaseViewSummitAnswer:(YLRiskAssessmentBaseView *)baseView;

@end

@interface YLRiskAssessmentBaseView : UIView

@property (nonatomic, strong) YLRiskAssessmentGroup *group;

@property (nonatomic, assign) NSInteger questionNum;

@property (nonatomic, weak) id<YLRiskAssessmentBaseViewDelegate> delegate;


/**
 显示下一题按钮
 */
@property (nonatomic, assign) BOOL showNext;

- (void)finsh;

@end
